package com.twu.biblioteca;

public class LibraryBook {
    private String bookTitle;
    private boolean isReserved;

    public LibraryBook(String bookTitle) {
        this.bookTitle = bookTitle;
        isReserved = false;
    }

    @Override
    public String toString() {
        return bookTitle + '\n';
    }

    public boolean isReserved() {
        return isReserved;
    }

    public void reserve() {
        isReserved = true;
    }

    public String getBookTitle(){
        return bookTitle;
    }
}
